package com.quwan.app.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author quan
 * @date 2021-11-23 2:03
 */

/**
 * 活动签到信息
 */
@Data
@Accessors(chain = true)
public class SignInDTO implements Serializable {

    private static final long serialVersionUID = -6961464751661738390L;
    @ApiModelProperty("当天是否签到")
    private boolean todaySignIn;
    @ApiModelProperty("连续签到次数")
    private int continuous;
    @ApiModelProperty("周 签到情况")
    private List<Item> weeks;
    @ApiModelProperty("签到豆豆")
    private Integer dd;

    public Item getItem() {
        return new Item();
    }

    @Data
    @Accessors(chain = true)
    public class Item {

        @ApiModelProperty("周")
        private Integer week;
        @ApiModelProperty(" 0未签到 1已签到")
        private Integer signIn;

    }
}
